package ssn.common.code.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import ssn.common.code.service.CodeService;
import ssn.common.code.vo.CodeVO;
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;

/**  
 * @Class Name : 
 * @Description : 
 * 
 * @author ksh
 * @since 2013. 09.26
 * @version 1.0
 * @see
 */
@SuppressWarnings("rawtypes")
@Service("codeService")
public class CodeServiceImpl extends AbstractServiceImpl implements CodeService {
	
    @Resource(name="codeDAO")
    private CodeDAO codeDAO; 
   
	public void insertCodeInfo(CodeVO vo) throws Exception{
		codeDAO.insertCodeInfo(vo);
	}
	public void insertCodeInfo(List vo) throws Exception{
		codeDAO.insertCodeInfo(vo);
	}
	public void updateCodeInfo(CodeVO vo) throws Exception{
		codeDAO.updateCodeInfo(vo);
	}
	public void updateCodeInfo(List vo) throws Exception{
		codeDAO.updateCodeInfo(vo);
	}
	public void deleteCodeInfo(CodeVO vo) throws Exception{
		codeDAO.deleteCodeInfo(vo);
	}
	public List selectCodeList(CodeVO vo) throws Exception{
		return codeDAO.selectCodeList(vo);
	}
	public List selectCodeInfoList(String refKey) throws Exception{
		return codeDAO.selectCodeInfoList(refKey);
	}
	public int selectCodeListCnt(CodeVO vo) throws Exception{
		return codeDAO.selectCodeListCnt(vo);
	}
	public CodeVO selectCodeInfo(CodeVO vo) throws Exception{
		return codeDAO.selectCodeInfo(vo);
	}
	@Override
	public List selectCodeInfoListOrderBy(String refKey) throws Exception {
		return codeDAO.selectCodeInfoListOrderBy(refKey);
	}
}
